
#unchangable
def unChangeFunc(a):
    a += 10

b = 2
unChangeFunc(b)
print(b)

#changable
def changeFunc(mylist):
    "modify the input list"
    mylist.append([1,2,3,4])
    print("in the function get value :",mylist)
    return

# use the changeList
mylist = [10,20,30]
changeFunc(mylist)
print("outside the function value is :",mylist)